# SET( CUDA_NVCC_FLAGS -G )

IF( CUDA_FOUND )
    CUDA_ADD_EXECUTABLE( ImageInverter main.cpp invertimagesimple.cpp invertimagegpu.cu )
ELSE( CUDA_FOUND )
    ADD_EXECUTABLE( ImageInverter main.cpp invertimagesimple.cpp )
ENDIF( CUDA_FOUND )

TARGET_LINK_LIBRARIES( ImageInverter scigpuhhv ${Boost_LIBRARIES} ${HDF5_LIBRARIES} )
